package com.kitty.game.hunqiao.model;

import lombok.Getter;
import lombok.Setter;
import com.kitty.game.hunqiao.model.HunQiaoAllProps;

@Getter@Setter
public class HunQiaoField {
    /** 下标*/
    private byte pos;
    /** ？*/
    private byte a = 2;
    /** ？*/
    private short b = 1;
    /** 属性id **/
    private short id;
    /** ？*/
    private byte c = 2;
    /** 值*/
    private short val;

    public HunQiaoField(byte pos, short id, short val) {
        this.pos = pos;
        this.id = id;
        this.val = val;
    }

    public HunQiaoField() {
    }

    public HunQiaoAllProps toHunQiaoAllProps(){
       return new HunQiaoAllProps(this.id,(byte)this.val);
    }
}
